package com.wu.mapper;

import com.wu.pojo.Order;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface OrderMapper {

    public void save (Order order);

    public List<Order> findallByUid(int index,int limit,long uid);

    public int countByUid(long uid);

}
